package com.xzm.project.ui.activity;
import android.os.Bundle;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import com.xzm.project.R;

/**
 * https://blog.csdn.net/da_caoyuan/article/details/79557704
 */
public class ToolbarActivity extends BaseActivity {
    private Toolbar toolbar;
    private Toolbar toolbar2;
    private TextView title;
    @Override
    protected int getLayoutID() {
        return R.layout.act_toolbar;
    }
    @Override
    protected void initView(Bundle savedInstanceState) {

        toolbar = findViewById(R.id.toolbar);
        toolbar2 = findViewById(R.id.toolbar2);
        title = findViewById(R.id.title);

        toolbar2.inflateMenu(R.menu.menu);


    }
    @Override
    protected void initListener() {

    }

}
